package schoolWork.work02.BookBorrowingSystem;
//类BorrowOrderItem：描述了一位读者借阅图书的信息。
public class BorrowOrderItem {
    Reader aReader;
    Book aBook;

    public BorrowOrderItem(Reader aReader, Book aBook) {

        this.aReader = aReader;
        this.aBook = aBook;
    }

    public void show() {
        String str = aReader.getCollege() + ",";
        str += aReader.getReaderNum() + ",";
        str += aReader.getReaderName() + ",";
        str += aBook.getName();
        System.out.println(str);
    }

}
